//
//  CollectionGameCell.swift
//  DouYuZB
//
//  Created by James on 2017/10/22.
//  Copyright © 2017年 James. All rights reserved.
//

import UIKit

class CollectionGameCell: UICollectionViewCell {
    // MARK: - 定义属性
    var group : BaseGameModel?{
        didSet{
            //移除前两组不需要显示的
            
            showImageView.sd_setImage(with: URL(string:group?.icon_url ?? ""), placeholderImage:UIImage(named: "home_more_btn") , options:[], completed: nil)
            titleLabel.text = group?.tag_name
        }
    }
    
    @IBOutlet weak var showImageView: UIImageView!
    
    
    @IBOutlet weak var titleLabel: UILabel!
    
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
        
    }
    

}
